Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(osmomath): BigDec Clone() and MulMut methods #3678

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

p0mvn
Copy link
Member

@p0mvn p0mvn commented Dec 9, 2022

Closes: #XXX

What is the purpose of the change

Context: #3676 (comment)

We would like to have a mutative and nonmutatuve Power function. This requires implementing a mutative multiplication function first. This PR does so by introducing Clone, MulMut functions defined on BigDec and Mul utilizing the new functions.

Testing and Verifying

  • covered by existing Mut tests.
  • added tests for Clone
  • added test to check MulMut mutates and Mut does not

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes? no
  • Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? yes
  • How is the feature or change documented? not applicable

@p0mvn p0mvn added V:state/compatible/backport State machine compatible PR, should be backported A:backport/v13.x backport patches to v13.x branch labels Dec 9, 2022
@p0mvn p0mvn requested a review from ValarDragon December 9, 2022 16:41
@p0mvn p0mvn marked this pull request as ready for review December 9, 2022 17:01
Copy link
Member

@ValarDragon ValarDragon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@ValarDragon ValarDragon merged commit 1846a99 into main Dec 9, 2022
@ValarDragon ValarDragon deleted the roman/osmomath-mulmut branch December 9, 2022 17:49
mergify bot pushed a commit that referenced this pull request Dec 9, 2022
(cherry picked from commit 1846a99)

# Conflicts:
#	CHANGELOG.md
@github-actions github-actions bot mentioned this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v13.x backport patches to v13.x branch V:state/compatible/backport State machine compatible PR, should be backported
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants